<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.text.NumberFormat"%>
<%@page import="java.util.List"%>
<%@page import="java.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>网上书店</TITLE>

        <LINK href=img/ys1.css type=text/css rel=stylesheet>


        <STYLE>
            #div0{
                width:100%;
                height:50px;
                background-color:#FFCCCC;
                position:fixed;
                z-index:10;
                margin:-10px -10px 0px -10px;
            }
            #top-page{
                float:right;
                height:10px;
                white-space:nowrap;
                margin:25px 0px 0px 0px;

            }	
            #logo{
                height:50px;
                width:50px;
                float:left;
            }
        </style>

    <BODY text=#000000 bgColor=#F0FFFF leftMargin=0 topMargin=0>

        <div id="div0">
            <div id="logo">
                <img src="img/logo.jpg" style="width:100%;height:100%; margin-left:15%">
            </div>
            <div id="top-page" align="right" style="margin-right:5%">
                <div align=center>
                   <a href="/J02_T13_P04/index.jsp"><FONT color=#ffffff>首页</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/newbook.jsp"><FONT color=#ffffff>最新图书</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/fenlei.jsp"><FONT color=#ffffff>图书分类</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/allbooklist.jsp"><FONT color=#ffffff>全部图书</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/admin/login.jsp" target=_blank><FONT color=#ffffff>管理入口</FONT></a>
                </div>
            </div>
        </div>
        <div align="center">
            <img src="img/top.jpg" width="779" style="margin-top:50px">
        </div>

        <TABLE cellSpacing=0 border=1 cellPadding=0 width=779 align=center>
            <TR>
                <TD align=center >书名</td>
                <TD align=center >作者</td>
                <TD align=center >出版社</td>
                <TD align=center >价格</td>
                <TD align=center >分类</td>
            </tr>
            <%
                List list = (List) request.getAttribute("List");
                if (!list.isEmpty()) {
                    for (int i = 0; i < list.size(); i++) {
                        List list2 = (List) list.get(i);
            %>	
            <tr>
                <td align=center><a href="admin/bookinfo.jsp?id=<%=list2.get(0).toString()%>"><%=list2.get(1).toString()%></a></td>
                <td align=center><%=list2.get(3).toString()%></td>
                <td align=center><%=list2.get(4).toString()%></td>
                <td align=center><%=list2.get(5).toString()%></td>
                <td align=center><%=list2.get(6).toString()%></td>
            </tr>	

            <%}
            } else { %>
            <tr>
            <br><br>
            没有符合条件的信息！
            <br><br>
            </tr>
            <%}%>	
        </TABLE><br><br><br>
        <br><br><br>
<div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
<div style="background:#FFCCCC;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
<div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
    </BODY></HTML>